import instance from "@/utils/axios.js";

export function sendcode(email) {
    return  instance.post("/password/send-code",{},{params:{email:email}});
}
export function reset(email,verificationCode,newPassword) {
    return  instance.post("/password/reset",{
        email:email,
        verificationCode:verificationCode,
        newPassword:newPassword
    });
}